package com.cyh.regex;

import org.junit.Test;

/**
 * Created by yanhuche on 4/11/2017.
 */
public class RegexDollarTest01 {


    @Test
    public void test01() {
        String jarVersion = "${jbosscache-core-version}";
        String regex = "\\$\\{.*}";
        System.out.println(jarVersion.matches(regex));
    }


}
